//
//  BlackMagicProxy.swift
//  ObserveTiming
//
//  Created by JY_NEW on 2021/10/25.
//

import Foundation

@dynamicCallable
public struct BlackMagicProxy {
    public func before(_ action: @escaping () -> Void) {
        
    }
    public func after(_ action: @escaping () -> Void) {
        
    }
    public func dynamicallyCall(withArguments actions: [() -> Void]) {
        for action in actions {
            self.after(action)
        }
    }
}
